package cn.cnf.service;


import cn.cnf.entity.NovelDetails;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 服务接口
 *
 * @author ZhuMeiYi
 * @description
 * @since 2020-12-04 15:18:43
 */
public interface NovelDetailsService extends IService<NovelDetails> {

    NovelDetails getNovelDetails(String novelId, String chapterId);

    /**
     * 删除章节
     * @param novelId
     * @param chapterId
     * @return
     */
    boolean delete(String novelId,String chapterId);

    /**
     * 删除所有
     * @param novelId
     * @return
     */
    boolean delete(String novelId);
}
